package vip.mall.modular.user.params;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ASUS
 * @Date 2025/2/10 10:15
 * @Descripition
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "添加用户参数")
public class AddUserParam {
    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "真实姓名")
    private String realName;
    @Schema(description = "性别")
    private String sex;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "邮箱")
    private String email;
}
